import request from '@/utils/request'

// 查询采购价目列表-分页
export function queryTPurPriceList(data) {
  return request({
    url: '/tPurPricelist/queryTPurPriceList',
    method: 'post',
    data
  })
}

// 查询采购价目明细
export function detailPriceList(data) {
  return request({
    url: '/tPurPricelistentry/queryPurPriceHeader',
    method: 'post',
    data
  })
}

// 采购价目表审核
export function purUnAudit(data) {
  return request({
    url: '/tPurPricelist/purUnAudit',
    method: 'post',
    data
  })
}
// 采购价目表反审核
export function purAudit(data) {
  return request({
    url: '/tPurPricelist/purAudit',
    method: 'post',
    data
  })
}
// 采购价目表反提交
export function purAuSubmit(data) {
  return request({
    url: '/tPurPricelist/purAuSubmit',
    method: 'post',
    data
  })
}
// 采购价目表提交
export function purSubmit(data) {
  return request({
    url: '/tPurPricelist/purSubmit',
    method: 'post',
    data
  })
}
// 采购价目表反禁用
export function undisablePur(data) {
  return request({
    url: '/tPurPricelist/undisablePur',
    method: 'post',
    data
  })
}
// 采购价目表禁用
export function disablePur(data) {
  return request({
    url: '/tPurPricelist/disablePur',
    method: 'post',
    data
  })
}
// 采购价目表删除
export function deletePur(data) {
  return request({
    url: '/tPurPricelist/deletePur',
    method: 'post',
    data
  })
}

// 查询采购价目表日志、操作人
export function queryPricelistLog(data) {
  return request({
    url: '/TJxLog/queryPricelistLog',
    method: 'post',
    data
  })
}
// 采购价目表删除行
export function deletePurPriceDetails(data) {
  return request({
    url: '/tPurPricelistentry/deletePurPriceDetails',
    method: 'delete',
    data
  })
}
// 采购价目表-催办
export function urgeTPurPriceList(data) {
  return request({
    url: '/tPurPricelist/urgeTPurPriceList',
    method: 'post',
    data
  })
}
// 采购价目表-查询转发人员
export function queryForwardTPurPrice(data) {
  return request({
    url: '/tPurPricelist/queryForwardTPurPrice',
    method: 'post',
    data
  })
}
// 采购价目表-转发
export function forwardTPurPrice(data) {
  return request({
    url: '/tPurPricelist/forwardTPurPrice',
    method: 'post',
    data
  })
}
// 采购价目表-转发确认
export function forwardConfirmTPurPrice(data) {
  return request({
    url: '/tPurPricelist/forwardConfirmTPurPrice',
    method: 'post',
    data
  })
}
